package service.impl;

import mapper.BuildingMapper;
import pojo.Building;
import service.BuildingService;
import utils.MyBatisUtil;

import java.util.List;

public class BuildingServiceImpl implements BuildingService {
    @Override
    public List<Building> list() {
        return MyBatisUtil.createSqlSession().getMapper(BuildingMapper.class).list();
    }
}
